﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunShop_WebAPI.Model
{
    public class JsonModel
    {
        public List<datas> data { get; set; }

        /// <summary>
        /// 快递返回数据
        /// </summary>
        public class datas
        {
            public string ftime { get; set; }
            public string context { get; set; }
        }
    }
    #region
    /// <summary>
    /// 下单产品属性和数量
    /// </summary>
    public class Spu
    {
        public int sku { get; set; }
        public int number { get; set; }

    }

    /// <summary>
    /// 收货人地址信息
    /// </summary>
    public class Address
    {
        public string consignee { get; set; }
        public string phone { get; set; }
        public string province { get; set; }
        public string city { get; set; }
        public string area { get; set; }
        public string street { get; set; }
        public string description { get; set; }
    }

    /// <summary>
    /// 订单需提交数据
    /// </summary>
    public class data
    {
        public string orderSn { get; set; }
        public List<Spu> spu { get; set; }
        public Address address { get; set; }


    }

    /// <summary>
    /// 退款数据
    /// </summary>
    public class refunddata
    {
        public string orderSn { get; set; }
        public string sku { get; set; }
        public string num { get; set; }
        public string logisticFee { get; set; }
        public string serviceTypeCode { get; set; }

        public string returnTypeCode { get; set; }
        
        public string reasonsDescription { get; set; }
        
        public Address userInfo { get; set; }





    }




    #endregion



}
